$header:var(--header);
$sider:var(--sider);
$sider-font:var(--sider-font);
$header-font:var(--header-font);
.header{
    // background-color:rgb(19,30,50);
    background-color: $header;
    color: $header-font;
    position: relative;
    .logo-title{
        display: flex;
        position: absolute;
        left: 10px;
        .logo{
            width: 65px;
            height: 65px;
            background-repeat: no-repeat;
            background-size: 50%;
            background-position:center;
            display: inline-block;
            background-image: url("../../assets/img/logo.png");
        }
        .header_title{
            font-size: 20px;
            font-weight: 200;
            display: inline-block;
        }
    }
    .user_box{
        position: absolute;
        right: 80px;
        cursor: pointer;
    }
}
.user_info{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    >div{
        text-align: left;
        cursor: pointer;
        margin-bottom: 10px;
        padding: 2px 10px;
        width: 100%;
        border-bottom: 1px solid rgb(232,238,252);
    }
    >div:hover{
        background-color: rgba(24,144,255,0.6);
        color: snow;
    }
}
.content{
    width: 100%;
    overflow-y: scroll;
    height: calc(100vh - 64px);
    background-color: rgb(232,238,252);
}

.content::-webkit-scrollbar{
    width: 5px;
}

.content::-webkit-scrollbar-thumb{
    border-radius:5px;
    background-color: silver;
}
.sider{
    width: 300px;
    height: calc(100vh - 64px);
    // height: 1520px;
    // background-color: rgb(26,38,64);
    background-color: $sider;
    // color: snow;
    overflow-y: scroll;
    .ant-menu.ant-menu-dark, .ant-menu-dark .ant-menu-sub, .ant-menu.ant-menu-dark .ant-menu-sub{
        color: $sider-font;
        background-color: $sider;
    }
    .ant-menu-dark .ant-menu-item:hover, .ant-menu-dark .ant-menu-item-active, .ant-menu-dark .ant-menu-submenu-active, .ant-menu-dark .ant-menu-submenu-open, .ant-menu-dark .ant-menu-submenu-selected, .ant-menu-dark .ant-menu-submenu-title:hover{
        color: $sider-font;
    }
    .ant-menu-dark .ant-menu-item, .ant-menu-dark .ant-menu-item-active, .ant-menu-dark .ant-menu-submenu-active, .ant-menu-dark .ant-menu-submenu-open, .ant-menu-dark .ant-menu-submenu-selected, .ant-menu-dark .ant-menu-submenu-title{
        color: $sider-font;
    }
}
.sider::-webkit-scrollbar{
    width: 3px;
    height: 100%;
}

.sider::-webkit-scrollbar-thumb{
    border-radius:5px;
}
// 卡片视图样式
.card{
    // box-shadow: 2px 2px 2px 2px silver;
}
// 表格样式
.source{
    width:100%;
    padding: 20px;
    .source_table{
        margin-top: 20px;
    }
    .agree{
        color: #6fce40;
    }
    .do{
        display: flex;
        justify-content: space-around;
        button{
            width: 40px;
        }
    }
}
.warn-box{
      width: 100%;
      height: 100%;
      .warn-chart{
          width: 800px;
          height: 800px;
      }
      display: flex;
      justify-content: center;
  }